package cn.edu.wynu.oop.day09;

public class People {
    int age;
    String name;

    void peopleSleep() {
        System.out.println(this.name + "睡觉了");
    }

    void peopleEat() {
        System.out.println("吃饭了");
    }

    public People(int age, String name) {
        this.age = age;
        this.name = name;
    }
}
